﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Delordrelinie
    {
        private int delordrelinienr;
        private Vare vare;
        private int antal;
        private double pris;       

        public Delordrelinie(Vare vare, int antal, double pris)
        {
            this.vare = vare;
            this.antal = antal;
            this.pris = pris;
        }

        public Delordrelinie(int delordrelinienr,Vare vare, int antal, double pris)
        {
            this.delordrelinienr = delordrelinienr;
            this.vare = vare;
            this.antal = antal;
            this.pris = pris;
        }

        public Vare Vare
        {
            get { return vare; }
            set { vare = value; }
        }
        
        public int Antal
        {
            get { return antal; }
            set { antal = value; }
        }

        public double Pris
        {
            get { return pris; }
            set { pris = value; }
        }               
    }
}
